@media (min-width: 1490px) and (max-width:1790px) {
    nav ul li {
        margin-left: 10px;
        margin-right: 10px;
    }
    .block_1 h1 {
        font-size: 60px;
    }
    .girl {
        width: 550px;
        height: 781px;
    }
    .block_1 .conteiner, .block_1 {
        height: 750px;
    }
    .block_1:before {
        content: " ";
        display: block;
        width: 10px;
        height: 250px;
        background: #315dfb;
        top: 32%;
        margin-top: -150px;
        position: absolute;
        left: 0px;
    }

    .block_1:after {
        content: " ";
        display: block;
        width: 10px;
        height: 250px;
        background: #315dfb;
        top: 32%;
        margin-top: -150px;
        position: absolute;
        right: 0px;
    }
}

@media (min-width: 1290px) and (max-width:1490px) { 
    nav ul li {
        margin-left: 10px;
        margin-right: 10px;
    }
    nav ul li a {
        font-size: 20px;
    }
    nav {
        margin-top: 55px;
    }
     .block_1 h1 {
        font-size: 50px;
    }
    .block_1 .conteiner {
        padding-left: 50px;
        max-width: 96%;
    }
    header .conteiner {
        max-width: 96%;
    }
    .girl {
        width: 473px;
        height: 681px;
    }
    .block_1, .block_1 .conteiner {
        height: 680px;
    }
    .block_1:before {
        content: " ";
        display: block;
        width: 10px;
        height: 210px;
        background: #315dfb;
        top: 35%;
        margin-top: -150px;
        position: absolute;
        left: 0px;
    }

    .block_1:after {
        content: " ";
        display: block;
        width: 10px;
        height: 210px;
        background: #315dfb;
        top: 35%;
        margin-top: -150px;
        position: absolute;
        right: 0px;
    }

}

@media (min-width: 992px) and (max-width:1290px) {
    nav ul li a {
        font-size: 12px;
        padding-left: 5px;
    }
    nav ul li a {
        font-size: 16px;
    }
    nav ul li {
        margin-left: 7px;
        margin-right: 7px;
    }
    .block_1 h1 {
        font-size: 45px;
        max-width: 450px;
    }
    .block_1 .conteiner {
        padding-left: 50px;
    }
    .girl {
        width: 473px;
        height: 681px;
        background: url(../img/275.jpg) no-repeat;
        background-size: cover;
    }
    .block_1:before {
        content: " ";
        display: block;
        width: 10px;
        height: 200px;
        background: #315dfb;
        top: 28%;
        margin-top: -170px;
        position: absolute;
        left: 0px;
    }

    .block_1:after {
        content: " ";
        display: block;
        width: 10px;
        height: 200px;
        background: #315dfb;
        top: 28%;
        margin-top: -170px;
        position: absolute;
        right: 0px;
    }
     header .conteiner {
        max-width: 100%;
    }
}
@media (min-width: 992px) and (max-width:1260px) {
    .logo {
        width: 220px;
        font-size: 33px;
        background: url(../img/logo.svg) no-repeat left center;
        background-size: 30px;
        padding-left: 45px;
        line-height: 25px;
        padding-top: 13px;
    }
    .logo span {
        font-size: 8px;
    }
    nav {
        margin-top: 45px;
        margin-left: 0px
    }
    nav ul {
        margin-left: 0px;
        padding-left: 0px;
    }
    .nomber_header {
        font-size: 14px;
        margin-top: 42px;
        margin-right: 10px;
    }
    .cont_hw {
        width: 24%;
    }
    .block_1, .block_1 .conteiner {
        height: 580px;
    }
    header {
        height: 105px;
    }

    .block_1 h1 {
        padding-top: 70px;
    }
   
    .md-6 {
        max-width: 430px;
    }
    .front_case {
        width: 430px;
    }
    
    .front_case img {
        width: 100%;
    }
    .tabs__content {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .border_table {
        text-align: left;
        margin: 0 auto;
    }
    .tabs__caption li {
        display: inline-block;
    }
    .vertical .tabs__caption {
        text-align: center;
        margin-bottom: 30px;
    }
    .footer_work {
        margin-left: 50px;
    }
    .why_flex {
        width: 970px;
    }
    .block_1 {
        margin-top: 103px;
    }
    .girl {
         width: 323px;
        height: 471px;
        background: url(../img/275.jpg) no-repeat;
        background-size: cover;
        position: absolute;
        right: 10px;
        top: 100px;
    }
    footer .footer-decor {
        background: none;
    }
    .description_main_block_1 {
        font-size: 18px;
        margin-top: 0px;
    }
    .btn {
        width: 250px;
        font-size: 16px;
        height: 45px;
        border-radius: 45px;
        line-height: 35px;
    }
    .nomber_oo {
        font-size: 30px;
        background: url(../img/phone_big.png) no-repeat 0px 8px;
        background-size: 20px;
        padding-left: 30px;
        margin-top: 15px;
    }
    header .conteiner {
        max-width: 96%;
    }
    .block_1:before {
        content: " ";
        display: block;
        width: 10px;
        height: 200px;
        background: #315dfb;
        top: 38%;
        margin-top: -150px;
        position: absolute;
        left: 0px;
        z-index: 5;
    }

    .block_1:after {
        content: " ";
        display: block;
        width: 10px;
        height: 200px;
        background: #315dfb;
        top: 38%;
        margin-top: -150px;
        position: absolute;
        right: 0px;
        z-index: 5;
    }
    header .conteiner {
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width:992px) {
       .items {
        display: block;
        z-index: 5;
        position: relative;
        float: right;
        margin-top: 45px;
    }
    nav {
        position: absolute;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        text-align: center;
        transition: all 0.2s;
        margin-left: 0px;
        margin-top: 115px;
        z-index: 5;
    }
   
    nav ul li {
        display: block;
        margin-bottom: 15px;
        margin-top: 15px;
    }
    nav ul li a {
        font-size: 20px;
    }
    nav.active {
        left: 0px;
    }
    .nomber_header {
        margin-right: 70px;
        margin-top: 50px;
    }
    .logo {
        font-size: 43px;
    }
    .logo span {
        font-size: 11px;
    }
    nav ul {
        margin-left: 0px;
        padding-left: 0px;
    }
    .block_1 h1 {
        font-size: 40px;
        padding-top: 50px;
        max-width: 390px;
        margin-bottom: 30px;
    }
    .description_main_block_1 {
        max-width: 370px;
        margin-top: 15px;
        font-size: 18px;
    }
    form button {
        margin-left: 0px;
        margin-top: 15px;
        display: block;
    }
    .flex_how_work {
        flex-wrap: wrap;
    }
    .cont_hw {
        width: 48%;
        margin-bottom: 15px;
    }
    .block_1 {
        height: 676px;
    }
    .md-6 {
        max-width: 45%;
    }
    .front_case {
        width: 100%;
        min-height: auto;
    }
    .front_case img {
        width: 100%;
    }
    .project {
        font-size: 16px;
    }
    .front_case h3 {
        font-size: 16px;
    }
    .why_text {
        font-size: 18px;
    }
    .why_flex {
        width: 100%;
    }
    .why_content {
        max-width: 45%;
    }
    .tabs__content {
        width: 100%;
    }
    .tabs__caption li {
        display: inline-block;
    }
    .vertical .tabs__caption {
        text-align: center;
        margin-bottom: 30px;
    }
    .tabs__content h3 {
        text-align: center;
    }
    .btn.green {
        margin: 0 auto;
        display: block;
        margin-top: 15px;
    }
    .flex_projects img {
        width: 15%;
    }
    .footer_work {
        width: 560px;
        margin: 0 auto;
        float: none;
    }
    footer .footer-decor {
        left: -370px;

    }
    footer form button {
        display: inline-block;
        margin-left: 10px;
    }
    .title {
        font-size: 35px;
    }
    .projects {
        padding-bottom: 50px;
    }
    .border_table {
        width: 719px;
        margin: 0 auto;
        margin-top: 30px;
    }
    .td_1 {
        width: 180px;
    }
    .td_2 {
        width: 338px;
    }

    .back_case {
        font-size: 14px;
    }
    .resultat_case {
        margin-top: 20px;
    }
    .girl {
         width: 323px;
        height: 471px;
        background: url(../img/275.jpg) no-repeat;
        background-size: cover;
        position: absolute;
        right: 10px;
        top: 20px;
    }
    footer .conteiner {
        width: 100%;
    }
    .map {
        display: none;
    }
     .btn {
        width: 250px;
        font-size: 16px;
        height: 45px;
        border-radius: 45px;
        line-height: 35px;
    }
    .nomber_oo {
        font-size: 30px;
        background: url(../img/phone_big.png) no-repeat 0px 8px;
        background-size: 20px;
        padding-left: 30px;
        margin-top: 15px;
    }
    .block_1, .block_1 .conteiner {
        height: 470px;
    }
    .block_1 .conteiner {
        padding-left: 20px;
    }
    header .conteiner {
        max-width: 100%;
    }
    .block_1:before {
        content: " ";
        display: block;
        width: 10px;
        height: 170px;
        background: #315dfb;
        top: 44%;
        margin-top: -150px;
        position: absolute;
        left: 0px;
        z-index: 5;
    }

    .block_1:after {
        content: " ";
        display: block;
        width: 10px;
        height: 170px;
        background: #315dfb;
        top: 44%;
        margin-top: -150px;
        position: absolute;
        right: 0px;
        z-index: 5;
    }
}

@media (min-width: 0px) and (max-width:767px) {
     .logo {
        width: 220px;
        font-size: 33px;
        background: url(../img/logo.svg) no-repeat left center;
        background-size: 30px;
        padding-left: 45px;
        line-height: 25px;
        padding-top: 13px;
    }
    header .conteiner {
        max-width: 100%;
    }
    .back_case {
        font-size: 14px;
    }
    .footer_work {
        width: 460px;
        margin: 0 auto;
        float: none;
        padding: 0px;
    }

    .logo span {
        font-size: 8px;
    }
     .footer_work p {
        max-width: none;
    }
    .resultat_case {
        margin-top: 20px;
    }
       .items {
        display: block;
        z-index: 5;
        position: relative;
        float: right;
        margin-top: 35px;
    }
    nav {
        position: absolute;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        text-align: center;
        transition: all 0.2s;
        margin-left: 0px;
        margin-top: 100px;
        z-index: 5;
    }
    nav ul li {
        display: block;
        margin-bottom: 15px;
        margin-top: 15px;
    }
    nav ul li a {
        font-size: 20px;
    }
    nav.active {
        left: 0px;
    }
    .nomber_header {
        margin-right: 70px;
        margin-top: 40px;
        font-size: 16px;
    }
        header {
        height: 105px;
    }
    .block_1 h1 {
        font-size: 30px;
        max-width: 255px;
        padding-top: 50px;
        margin-bottom: 30px;
    }
    .block_1 .conteiner {
        padding-left: 15px;
    }


    .block_1 .conteiner, .block_1 {
        height: 440px;
    }
    .girl {
         width: 273px;
        height: 401px;
        background: url(../img/275.jpg) no-repeat;
        background-size: cover;
        position: absolute;
        right: 10px;
        top: 20px;
    }
    .flex_how_work {
        flex-wrap: wrap;
    }
    .cont_hw {
        width: 48%;
        margin-bottom: 15px;
    }
    footer .conteiner {
        width: 100%;
    }
    .map {
        display: none;
    }
    .cont_hw .nom_hw {
        margin-top: 15px;
    }
    .description_main_block_1 {
        font-size: 14px;
        margin-top: 0px;
        max-width: 270px;
    }
    .cont_hw .title_hw {
        margin-top: 30px;
        font-size: 16px;
    }
    .block_1:after {
        display: none;
    }
    form button {
        margin-left: 0px;
        margin-top: 15px;
        display: block;
    }
    .md-6 {
        margin: 0 auto;
        margin-bottom: 40px;
    }
    .row-flex {
        display: block;
    }
    .case_conteiner {
        margin-bottom: 0px;
    }
    .title {
        font-size: 25px;
        margin-bottom: 20px;
    }
    .why_flex {
        width: 100%;
    }
    .view_all_cases {
        display: block;
        text-align: center;
        font-size: 16px;
        text-decoration: underline;
        z-index: 999;
        position: relative;
        cursor: pointer;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .view_all_cases:hover, .view_all_cases:active {
        text-decoration: none;
    }
    .mobile_hide {
        display: none;
    }
    footer .footer-decor {
        display: none;
    }
    footer {
        overflow: inherit;
    }

    .flex_projects img {
        width: 30%;
        margin-bottom: 10px;
    }
    .flex_projects {
        flex-wrap: wrap;
    }
    .border_table {
        display: none;
    }
    .tabs__content {
        width: 100%;
        top: 65px;
        position: relative;
    }
    .tabs__content h3 {
        font-size: 18px;
        text-align: center;
    }
    .btn.green {
        width: 250px;
        margin: 0 auto;
        margin-top: 15px;
        display: block;
    }
    .table_block .conteiner {
        padding-bottom: 30px;
    }
    .projects {
        padding-bottom: 40px;
    }
    .dl_price {
        display: block;
        text-align: center;
        margin: 0 auto;
        padding-bottom: 6px;
        padding-top: 6px;
        font-size: 16px;
        text-decoration: underline;
        color: #333;
    }
    .tabs__caption li {
        display: none;
    }
    .tabs__caption li.active {
        display: block;
       
        padding: 6px 15px;
        width: 280px;
        margin: 0 auto;
       
    }
    .tabs__caption {
        left: 50%;
        margin-left: -140px;
        padding-left: 0px;
        margin-bottom: 30px;
        position: absolute;
         border: 1px solid #d9d9d9;
         background: url(../img/arr_svernt.svg) no-repeat 95% 15px;
    }
    .tabs__caption.active {
        width: 280px;
        box-shadow: 0px 0px 5px #d9d9d9;
        left: 50%;
        margin-left: -140px;
         background: url(../img/arr_svernt.svg) no-repeat 95% 15px;
        background-color: #fff;
        z-index: 2;
    }
    .table_block {
        padding-bottom: 40px;
    }
    .tabs__caption li.opened {
        display: block;
    }
    .tabs__caption li {
        border-bottom: none;
    }
    .title_zayavka {
        text-align: center;
        font-size: 26px;
    }
    .footer_work p {
        font-size: 16px;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 50px;
    }
    .block_2 {
        padding-bottom: 30px;
        padding-top: 40px;
    }
    #form_main_2 {
        text-align: center;
        margin-top: 25px;
    }
    #form_main_2 input, #form_main_2 button {
        width: 280px;
        display: block;
        margin: 0 auto;
        margin-bottom: 15px;
    }
    .mobile_toggle {
        display: block;
        width: 100%;
        margin: 0 auto;
        margin-bottom: 15px;
        max-width: 460px;
        
    }
    .mobile_toggle>div {
        float: left;
        width: 50%;
        text-align: center;
        font-size: 16px;
        padding-bottom: 6px;
        padding-top: 7px;
        cursor: pointer;
    }
    .mobile_toggle:after {
        content: " ";
        display: block;
        clear: both;
    }
    .mobile_toggle>div.active {
        border-bottom: 2px solid #315DFB; 
    }
    .enter_projects_title, .out_projects_title {
        display: none;
    }
    .block_2 .row-flex .md-6 {
        display: none;
    }
    .block_2 .row-flex .md-6.active {
        display: block;
    }
    .mobile-menu ul {
        margin-left: 0px;
        padding-left: 0px;
    }
    .block_1 {
        margin-top: 103px;
    }
    .footer_work p {
        display: table;
        margin: 0 auto;
        margin-bottom: 10px;
    }
    footer {
        height: 450px;
    }
    .how_work {
        border-top: 1px solid #ccc;
        padding-top: 30px;
        margin-top: 100px;
    }
     .nomber_oo {
        font-size: 30px;
        background: url(../img/phone_big.png) no-repeat 0px 8px;
        background-size: 20px;
        padding-left: 30px;
        margin-top: 15px;
    }
     .btn {
        width: 250px;
        font-size: 16px;
        height: 45px;
        border-radius: 45px;
        line-height: 35px;
    }
    .block_1:before {
        content: " ";
        display: block;
        width: 10px;
        height: 130px;
        background: #315dfb;
        top: 35%;
        margin-top: -100px;
        position: absolute;
        left: 0px;
        z-index: 5;
    }

    .block_1:after {
        content: " ";
        display: block;
        width: 10px;
        height: 130px;
        background: #315dfb;
        top: 35%;
        margin-top: -100px;
        position: absolute;
        right: 0px;
        z-index: 5;
    }
}

@media (min-width: 0px) and (max-width:600px) {
    .girl {
        display: none;
    }
}
@media (min-width: 0px) and (max-width:479px) {
    .nomber_header {
        display: none;
    }
    .footer_work {
        width: auto;
    }
    .mobile-menu li.none {
        display: block;
    }
    .block_1 .conteiner {
        background: none;
        max-width: 100%;
        height:340px; 
    }
    .block_1 h1 {
        font-size: 25px;
        margin-bottom: 30px;
    }
    .nomber_oo {
        text-align: center;
        display: table;
        margin: 0 auto;
    }
    .block_1 {
        height: 340px;
        overflow:inherit;
    }
    header .conteiner  {
        max-width: 100%;
    }
    .block_1 .conteiner {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .block_1 h1, .description_main_block_1 {
        text-align: center;
       max-width: 100%;
    }
    .block_1 .conteiner {
        padding-left: 15px;
    }
    form input, form button {
        width: 280px;
        margin: 0 auto;
        margin-bottom: 15px;
    }
    .how_work {
        margin-top: 100px;
        padding-top: 30px;
    }
    #form_main_2 {
        margin-bottom: 25px;
        margin-top: 20px;
    }
    .flex_how_work {
        flex-wrap: wrap;
    }
    .cont_hw {
        margin: 0 auto;
        margin-bottom: 15px;
    }
    .nom_hw {
        margin-top: 25px;
    }
    footer .conteiner {
        width: 100%;
    }
    #form_main {
        text-align: center;
        margin-top: 40px;
    }
    .map {
        display: none;
    }
    .mobile_toggle > div {
        font-size: 14px;
    }
    .project::before {
        left: 20px;
    }
    .project {
        font-size: 14px;
        padding-left: 50px;
    }
    .back_case p {
        font-size: 13px;
    }
    .front_case {
        width: 100%;
        min-height: auto;
    }
    .front_case img {
        width: 100%;
    }
    .why_text {
        font-size: 16px;
        margin-top: 12px;
    }
    .why_we {
        padding-bottom: 20px;
    }
    .flex_projects img {
        margin-bottom: 15px;
    }
    .front_case h3 {
        font-size: 18px;
    }
    .footer_work {
        top: 35px;
    }
    .offer_form input, .offer_form button, select {
        width: 280px;
        margin-top: 5px;
    }
    .btn {
        display: block;
        margin: 0 auto;
        margin-top: 15px;
    }
    select {
        margin-bottom: 15px;
    }
    .offer_form p {
        font-size: 16px;
    }
    .block_1 {
        margin-top: 103px;
    }
    .project span {
        width: 280px;
        font-size: 13px;
    }
    .project span:after {
        left: 26px;
    }
    .girl {
        display: none;
    }
    .footer_work p {
        margin-bottom: 10px;
    }
    footer {
        height: 480px;
    }
    .btn {
        margin-bottom: 40px;
    }
    .block_1:before {
        content: " ";
        display: block;
        width: 10px;
        height: 130px;
        background: #315dfb;
        top: 40%;
        margin-top: -100px;
        position: absolute;
        left: 0px;
        z-index: 5;
    }

    .block_1:after {
        content: " ";
        display: block;
        width: 10px;
        height: 130px;
        background: #315dfb;
        top: 40%;
        margin-top: -100px;
        position: absolute;
        right: 0px;
        z-index: 5;
    }
}